#include "Junction.h"

namespace OpenDrive {
	Junction::Junction(std::string id, std::string name) : id(id), name(name){}

	Junction::~Junction(){}

	void Junction:: addConnections(const Connection &connection) { connections.push_back(connection); }

	std::vector<Connection>& Junction:: getConnections() { return connections; }

	std::string Junction:: getId()const { return id; }

	std::string Junction:: getName()const { return name; }
}